/**
 * 
 */
package profile.result;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ductrung.tran
 *
 */
public class ParamResult {

	private String param;
	
	private List<ParamResultItem> resultItemList = new ArrayList<ParamResultItem>();

	public String getName() {
		return param;
	}

	public void setName(String param) {
		this.param = param;
	}

	public List<ParamResultItem> getResultItemList() {
		return resultItemList;
	}

	public void addResultItem(ParamResultItem paramResultItem) {
		this.resultItemList.add(paramResultItem);
	}

	public void merge(ParamResult paramResult) {
		resultItemList.addAll(paramResult.getResultItemList());
	}
}
